aboutsummaryrefslogtreecommitdiff
path: root/demos/hello-next/pages/posts/[id].tsx
diff options
context:
space:
mode:
Diffstat (limited to 'demos/hello-next/pages/posts/[id].tsx')
-rw-r--r--demos/hello-next/pages/posts/[id].tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/hello-next/pages/posts/[id].tsx b/demos/hello-next/pages/posts/[id].tsx
index 26cb704f6..48413669c 100644
--- a/demos/hello-next/pages/posts/[id].tsx
+++ b/demos/hello-next/pages/posts/[id].tsx
@@ -3,6 +3,7 @@ import Link from "next/link";
export default function Post({}) {
const router = useRouter();
+
return (
<div style={{ padding: 16 }}>
<h1>Post: {router.query.id}</h1>